import React from 'react';
import ReactDOM from 'react-dom/client';

import App from './App';

// 引入公共样式
import './assets/css/reset.css'
// 引入rem.js
import './assets/js/rem'

// HashRouter hash模式 BrowserRouter history模式
import { Provider } from 'react-redux'
import { HashRouter, BrowserRouter } from 'react-router-dom'
import store from './store';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <Provider store={store}>
        <HashRouter>
            <App />
        </HashRouter>

    </Provider>

);

